import { inject, provide } from "vue"

export const buttonSizeKey = Symbol("buttonSizeKey")

export function useProvideButtonSize(size: string) {
  provide(buttonSizeKey, size)
}

export function useInjectButtonSize(defaultSize: string){
  return inject<string>(buttonSizeKey, defaultSize)
}
